<include target="./common_header.html" />
<h1 class="h1">{$member_title = $lang->cmd_view_scrapped_document}</h1>
<div class="table even">
	<table width="100%" border="1" cellspacing="0">
		<caption>Total: {number_format($total_count)}, Page {number_format($page)}/{number_format($total_page)}</caption>
		<thead>
			<tr>
				<th>{$lang->no}</th>
				<th class="title">{$lang->title}</th>
				<th>{$lang->writer}</th>
				<th>{$lang->date}</th>
				<th>{$lang->cmd_delete}</th>
			</tr>
		</thead>
		<tbody>
			<tr loop="$document_list=>$no,$val">
				<td>{$no}</td>
				<td class="title"><a href="{getUrl('','document_srl',$val->document_srl)}" onclick="window.open(this.href);return false;">{htmlspecialchars($val->title)}</a></td>
				<td><a href="#popup_menu_area" class="member_{$val->target_member_srl}">{$val->nick_name}</a></td>
				<td>{zdate($val->regdate, "Y-m-d")}</td>
				<td><button type="button" class="text" onclick="doDeleteScrap({$val->document_srl});">{$lang->cmd_delete}</button></td>
			</tr>
		</tbody>
	</table>
</div>
<div class="pagination">
    <a href="{getUrl('page','','module_srl','')}" class="direction">&lsaquo; {$lang->first_page}</a> 
    <!--@while($page_no = $page_navigation->getNextPage())-->
        <!--@if($page == $page_no)-->
            <strong>{$page_no}</strong> 
        <!--@else-->
            <a href="{getUrl('page',$page_no,'module_srl','')}">{$page_no}</a> 
        <!--@end-->
    <!--@end-->
    <a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}" class="direction">{$lang->last_page} &rsaquo;</a>
</div>
<include target="./common_footer.html" />
